﻿using iStudio.Manager.Plugin;
using iStudio.Manager.Setting;

namespace iStudio.Manager
{
    public class Manager
    {
        #region Fields

        public PluginManager PluginManager;
        public SettingManager SettingManager;

        #endregion

        #region Singleton-Pattern
        private static Manager _instance;

        public static Manager Instance
        {
            get
            {
                return _instance ?? (_instance = new Manager ());
            }
        }

        private Manager()
        {
            SettingManager = new SettingManager ();

            PluginManager = new PluginManager ();
        }

        #endregion
    }
}
